encoding/json.decodeState.readIndex (method)

22 uses

	encoding/json (current package)
		decode.go#L222: func (d *decodeState) readIndex() int {
		decode.go#L383: 		start := d.readIndex()
		decode.go#L387: 			if err := d.literalStore(d.data[start:d.readIndex()], v, false); err != nil {
		decode.go#L504: 		start := d.readIndex()
		decode.go#L610: 		start := d.readIndex()
		decode.go#L680: 		start := d.readIndex()
		decode.go#L682: 		item := d.data[start:d.readIndex()]
		decode.go#L886: 			d.saveError(&UnmarshalTypeError{Value: val, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L927: 				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L935: 				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L949: 			d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L952: 				d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L971: 				d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L994: 			d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1002: 				d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1010: 				d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1018: 				d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1026: 				d.saveError(&UnmarshalTypeError{Value: "number " + s, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1097: 		start := d.readIndex()
		decode.go#L1099: 		item := d.data[start:d.readIndex()]
		decode.go#L1136: 	start := d.readIndex()
		decode.go#L1139: 	item := d.data[start:d.readIndex()]